Is there a way to import a JS function inside a React component